package com.microboot.service.impl;

import com.microboot.annotation.AutoPublishWS;
import com.microboot.service.user.dao.IMessageService;
import jakarta.jws.WebService;
import org.springframework.stereotype.Service;

@AutoPublishWS(publishPath = "MessageService")
@WebService(serviceName = "MessageService", //接口名称
        targetNamespace = "http://service.microboot.com", //接口命名空间
        endpointInterface = "com.microboot.service.user.dao.IMessageService") //端点接口(endpointInterface中指定的必须是接口包路径+接口名称)
@Service //自动进行bean注册
public class MessageServiceImpl implements IMessageService {

    @Override
    public String echo(String msg) {
        return "【ECHO】"+msg;
    }
}
